/*
$(function () {
  'use strict';
  
  
  //$.init();
});
*/

function iFrameHeight() {
  var ifm= document.getElementById("iframe_content");
  ifm.height = document.body.clientHeight;
}

function showTicketQRCode(id) {
  var qrid = id.substr(0,id.lastIndexOf("_"));
  var e = document.getElementById(qrid);
  if (e.style.display!="block") {
    e.style.display = "block";
  } else {
    e.style.display = "none";
  }
}

function showDetails() {
  var e = document.getElementById("details");
  if (e.style.display!="block") {
    e.style.display = "block";
  } else {
    e.style.display = "none";
  }
}